import { createApp } from 'vue'
import pinia from './store'
import registerIcons from './utils/register-icons'
import SvgIcon from '@/components/svgIcon/svgIcon.vue'

import App from './App.vue'
import router from './router'

// 配置 svg
import 'virtual:svg-icons-register'

// 重置css
import 'normalize.css'
import './assets/css/index.less'

const app = createApp(App)
app.use(registerIcons)
app.use(pinia)
app.use(router)
app.component('svg-icon', SvgIcon)
app.mount('#app')
